import {defHttp} from '@/utils/http/axios'

export function getSalesCatelogTree(params) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getSalesCatelogTree`,
    method: 'get',
    params
  });
}

export function getSalesCatelogQueryCondition() {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/getSalesCatelogQueryCondition`,
    method: 'get'
  });
}

export function searchSalesCatelog(data) {
  return defHttp.request({
    url: `/servlet/rest/com/invt/thingworx/searchSalesCatelog`,
    method: 'post',
    data,
  });
}


